<?php
include("../includes/header-admin.php");
include("../../includes/myPagination/paginateFunctions.php");
include("listEventsFunctions.php");
?>
<link rel="stylesheet" href="../../includes/blueTable.css" type="text/css" media="screen" />
<title>LazySwim</title>
</head>
<body>
<div id="page">
    <div id="page-top">
        <div id="page-bottom">
          <div id="header">
                <div id="header-info">
                    <h1>LAZYSWIM</h1>
                    <div class="description">Simplistic Swim System</div>
                </div>
				<!-- Header Goes Here -->
                <?php printHeader(); ?>
				<!-- Header Ends Here -->
                <div id="header-date">Today is <?php echo date('l, F jS, Y'); ?></div>
                <div id="header-cats">
				<!-- Welcome Message Starts Here -->
                    <ul>
					<?php include("../../includes/welcomeBar.php"); ?>
					</ul>
				<!-- Welcome Message Ends Here -->	
                </div>
            </div>
            <div id="main">

                <div id="sidebar">
                    <?php
					// include the corresponding navigation page
                    include("../../includes/navigation.php");
					?>     
                </div>

<!-- display the event list for the manager to add or edit comments -->

                <?php
					if($_SESSION["ls_accounttype"] == 'manager') {
						showManagerCommentView();
					}
					else {
						echo"<div class='featured-post'>
							<div class='post-title'>
								<h2>Access Dennied</h2>
							</div>You do nat have permission to view this page.</div>";
					}
				?>

<!-- end manager comment control panel -->
             
                <div class="clear"></div>

            </div>
			<!-- Footer Goes Here -->
            <?php include("../../includes/footer.php"); ?>
			<!-- Footer Ends Here -->
        </div>
    </div>
</div>
</body>
</html>
